home *** CD-ROM | disk | FTP | other *** search
- Path: news.lpr.carel.fi!usenet
- From: Ari Lukumies <aril@cmt.lpr.mail.carel.fi>
- Newsgroups: comp.lang.c
- Subject: Re: Help about the sin() with linux
- Date: Wed, 31 Jan 1996 15:33:47 +0200
- Organization: Carelcomp Forest
- Message-ID: <310F6FBB.2EF2@cmt.lpr.mail.carel.fi>
- References: <4e2eur$50@avalon.imaginet.fr> <4ehtg6$8j4@hdxx05.telecom.ptt.nl> <4elm7v$c9p@airdmhor.gen.nz>
- NNTP-Posting-Host: renoir.cclahti.carel.fi
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0b6a (WinNT; I)
-
- Simon Hosie wrote:
- >
- > Andre Broers:
- > > You have to link the math library with your program. I hope that will
- > > work.
- >
- > Where is it?? Where is it?? Tell me, damn you.. I must know!!
-
- The libraries are usually in /usr/lib. Usually in *nix the switch -lm in cc command
- line is enough to link the math lib, if the environment variable LIB is pointing to
- the right directory. You can check where the library actually is by doing find ./
- -name libm.a -print. libm.a is usually the name of the math library; in some
- systems it may have another name, though.
-
- Later,
- AriL
- --
- All my opinions are mine and mine alone.
-